package cn.com.dcsgo.springcloudstudy.payment.dao;

import cn.com.dcsgo.springcloudstudy.commons.pojo.Payment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @author DCSGO
 * @version 1.0
 */
@Mapper
@Repository
public interface PaymentDao {
    int create(Payment payment);

    Payment queryById(@Param("id") long id);
}
